package com.headfirst.CreateMode.builder.version2;

public class APP2 {

    public static void main(String[] args) {
        
        User2 user2 = User2.builder().name("shg")
                .password("111")
                .nickName("sss")
                .age(12).build();
        
        System.out.println(user2);

        User2 user22 = new User2("1", "x", "xx", 1);
        System.out.println(user22);
    }
}
